module.exports=app=>{
    const mongoose=app.mongoose;
    const Schema=mongoose.Schema;
    const UserSchema = new Schema({
        userName: { type: String  },
        password: { type: String  },
        createTime:{type:String},
        state:{type:Boolean}
    });
    return mongoose.model('user',UserSchema);
}